package com.zlf.command;

/**
 *创建一个请求对象
 */
public class Stock {

		private String name = "ABC";
		private int quantity = 10;

		public void buy(){
				System.out.println("Stock [ Name: "+name+", Quantity: " + quantity +" ] bought buy");
		}
		public void sell(){
				System.out.println("Stock [ Name: "+name+", Quantity: " + quantity +" ] sold sell");
		}
}
